using System;
using System.Collections;
using System.Runtime.InteropServices;
namespace BMC.ARSystem
{
	[ComVisible(false), Guid("2b0aa1b0-f7ea-4cf2-b023-d004a49aedba")]
	public abstract class ModifyFlags
	{
		private BitArray _flags;
		public ModifyFlags(int length, bool defaultValue)
		{
			this._flags = new BitArray(length, defaultValue);
		}
		private bool Get(int index)
		{
			return this._flags.get_Item(index);
		}
		private void Set(int index, bool val)
		{
			this._flags.set_Item(index, val);
		}
		private void SetAll(bool val)
		{
			int i = 0;
			int length = this._flags.get_Length();
			while (i < length)
			{
				this._flags.set_Item(i, val);
				i++;
			}
		}
	}
}
